package com.cxx.admin.service;


import com.cxx.common.dto.AccountDto;
import com.cxx.common.entity.Account;

import java.util.List;

public interface AccountService {
    List<AccountDto> queryAccountList();

    Account queryAccountByUserId(Long userId);

    Boolean registerAccount(AccountDto accountDto);

    Boolean deleteAccount(Long id);
}
